package com.open.auth.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.auth.entity.OauthClientDetails;
import com.open.auth.resp.OauthClientDetailsDTO;

@Mapper
@Repository
public interface OauthClientDetailsMapper extends BaseMapper<OauthClientDetails>{

	/**
	 * 根据clientId获取client
	 * 
	 * @param clientId
	 * @return
	 */
	OauthClientDetailsDTO getClientByClientId(String clientId);

}

